package pe.com.nextel.util;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;

public  class  Utilitario {
	public static String fnInputStreamToString(InputStream is) {
        String lsLinea = "";
        StringBuilder loSbTotal = new StringBuilder();
        BufferedReader rd = new BufferedReader(new InputStreamReader(is));
        try 
        {
			while ((lsLinea = rd.readLine()) != null) 
			{ 
				loSbTotal.append(lsLinea); 
			}
		} 
        catch (IOException e) 
        {
			e.printStackTrace();
		}
        return loSbTotal.toString();
    }

}